package com.qf.service.impl;

import com.qf.borrower.Borrower;
import com.qf.dao.UsermessageDao;
import com.qf.loanrepayment.Loanrepayment;
import com.qf.service.UsermessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UsermessageServiceImpl implements UsermessageService {

    @Autowired
    UsermessageDao usermessageDao;

    @Override
    public List<Borrower> findUsermessageAll() {
        return usermessageDao.findUsermessageAll();
    }

    @Override
    public Loanrepayment findUsermessageById(Integer id) {
        return usermessageDao.findUsermessageById(id);
    }
}
